
KVERS = $(shell uname -r)

# Kernel modules
obj-m += hello.o

# specify flgas for the module compilation
# EXTRA_CFLAGS = -g -O0

bulid: kernel_modules

kernel_modules:
	make -C /lib/modules/$(KVERS)/build M=$(CURDIR) modules

clean:
	make -C /lib/modules/$(KVERS)/build M=$(CURDIR) clean

